﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.TestManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2021-07-12 17:00
    /// 描 述：实体类
    /// </summary>
    [Table("Bank")]
    public class BankEntity : BaseEntity
    {
        /// <summary>
        /// 银行代码
        /// </summary>
        /// <returns></returns>
        public string BankID { get; set; }
        /// <summary>
        /// 银行名称
        /// </summary>
        /// <returns></returns>
        public string BankName { get; set; }
        /// <summary>
        /// 银行地址
        /// </summary>
        /// <returns></returns>
        public string Address { get; set; }
        /// <summary>
        /// 电话号码
        /// </summary>
        /// <returns></returns>
        public string TelphoneNumber { get; set; }
        /// <summary>
        /// 创建日期时间
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? CreatDate { get; set; }
        /// <summary>
        /// 创建者
        /// </summary>
        /// <returns></returns>
        public string Creator { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        /// <returns></returns>
        public bool? DeleteFlag { get; set; }
    }
}
